home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 006 / javlrn2.arc / WORKSHT.CAS (.txt) < prev    next >
Encoding:
Javelin Case Study  |  1985-10-01  |  43.8 KB  |  1,141 lines

  1. WORKSHT0
  2. ~0Copyright (c) 1985 Javelin Software Corporation.
  3. S/N   0412345679
  4. Press [F1] for Help.
  5. Version E4.69
  6. Diagram view
  7. Table view
  8. READY
  9. &THE JAVELIN WORKSHEET
  10. $This case study shows some ways
  11. $to use worksheets in Javelin.
  12. $- Press [Space] to continue -
  13. $- or press [F1] for Help -
  14.  228K
  15. The Worksheet view is the most
  16. flexible}
  17. $ of Javelin's views, with
  18. ~$many powerful features. In this case
  19. ~$study, you'll see how to use some of
  20. these features.
  21. ~"You'll also see how to use several
  22. ~%of the *Worksheet commands, Javelin's
  23. ~ special commands for worksheets.
  24. %Example~
  25. : Chisel & Gouge Furniture Co.
  26. ~%  Chisel & Gouge Furniture Co. builds
  27. ~$  desks, dressers, and tables at two
  28. locations: Omaha and Topeka.
  29. ~#  Use Javelin worksheets to examine
  30. ~%  the production of each item at each
  31. ~    location.
  32. } $The production data for Chisel &
  33. ~"Gouge Furniture Co. is stored in a
  34. model called CHISEL.
  35. ~$To load the model, use the File Load
  36. command. Type:
  37. & $/' $F' $L' $}
  38. 'chisel
  39.  DEFINE }
  40.   CLEAR
  41. WINDOW   PRINT
  42. MENU 
  43. ~MDefine variable, building block, worksheet, graph, macro, time pd., settings.
  44.  Delete
  45.  Import ...
  46.  Save
  47.  Load
  48.  FILE
  49. Load a model file from disk.
  50. m view
  51. READY
  52. ~    Filename:
  53. WAIT 
  54. chisel.mdl
  55. Sep 1986 
  56.   Jun 1987 .
  57. Aug 1986 
  58.   May 1987 
  59.   Feb 1988 
  60. Jul 1986 
  61.   Apr 1987 
  62.   Jan 1988 
  63. Jun 1986 
  64.   Mar 1987 
  65.   Dec 1987 
  66. May 1986 
  67.   Feb 1987 
  68.   Nov 1987 
  69. Apr 1986 
  70.   Jan 1987 
  71.   Oct 1987 
  72. Mar 1986 
  73.   Dec 1986 
  74.   Sep 1987 
  75. Feb 1986 
  76.   Nov 1986 
  77.   Aug 1987 
  78. Jan 1986 
  79.   Oct 1986 
  80.   Jul 1987 
  81. Omaha Desks = 
  82.  Monthly data: January 1986 - December 1986 
  83.     Formulas for all variables:
  84. Omaha Tables = 
  85.  Monthly data: January
  86. Omaha Dressers = 
  87.  Monthly data: Janua
  88. Omaha Desks = 
  89.  Monthly data: January 
  90. READY
  91. chisel.mdl
  92. chisel.mdl loaded.
  93. ~$Javelin loads the model. You see the
  94. ~$Table view in the top window and the
  95. ~#Formulas view in the bottom window.
  96. his model contains data for the
  97. ~%three variables shown in the Formulas
  98. view.
  99. ~$The Table view shows one variable at
  100. a time.
  101. ~ The Worksheet view can show many
  102. variables at once. To see a
  103. ~!worksheet, use the View Worksheet
  104. command:
  105. & $/' $V' $W'
  106.   DEFINE   CLEAR
  107. WINDOW   PRINT
  108. FILE 
  109. MENU 
  110. ~)Load, save, import, or delete disk files.
  111.  Graph
  112.  Macro
  113.  Errors
  114.  Notes
  115.  Worksheet
  116.  Quick graph
  117.  Chart
  118.  Table
  119.  Formulas ...   
  120.  Diagram
  121.  VIEW
  122. Show diagram in current window.
  123. ~#Show a worksheet in current window.
  124.  Monthly data: J
  125. Monthly data: Janu
  126.      variables:
  127.   Jun 19
  128.   May 19
  129.   Apr 19
  130.   Mar 19
  131.   Feb 19
  132.   Jan 19
  133.   Dec 19
  134.   Nov 19
  135.   Oct 19
  136. Omaha Desks = 
  137.  Monthly data: January 1986 - December 1986 
  138. Worksheet name:
  139. ~!At the top of the screen, Javelin
  140. ~"prompts you to name the worksheet.
  141. ~"You can have as many worksheets as
  142. ~%you like, each with a different name.
  143. Let's call this worksheet }
  144. %Production~
  145. Type:
  146. 'Production
  147. READY
  148. Production
  149. &    }*$
  150.  Before we go on, let's talk about the  
  151.  parts of this worksheet.
  152.  The }
  153. %worksheet borders~
  154.  are the shaded
  155. ~%areas at the top and left side of the
  156. worksheet.
  157. %body~
  158.  of the worksheet is the area
  159. ~&below and to the right of the borders.
  160. The borders control what y}    $ou see in
  161. the body of the worksheet.
  162. %name}
  163. $ of the worksheet 
  164. Production -- is at the top.
  165. ~"The worksheet is divided into rows
  166. and columns of
  167. %cells~
  168. . A cursor marks
  169. on}#$e cell. Right now, the cursor is at
  170. ~#the top left corner of the borders.
  171. ~$You can move the cursor from cell to
  172. ce}#$ll with arrow keys. For example, to
  173. ~&move the cursor down one cell, press: 
  174. (    ~!To see data in the worksheet, you
  175. ~"have to fill in variable names and
  176. dates in the bo}
  177. $rder cells. For
  178. example, to enter }
  179. %Omaha Desks~
  180. cell at the cursor, type:
  181. & $O'm'a'
  182. ~"Now use the SPELL key to spell out
  183. ~$the rest of the name; then enter it:
  184. WAIT 
  185. READY
  186. WAIT 
  187.  Omaha Tables   
  188.  Omaha Dressers 
  189.  Omaha Desks
  190.  POSSIBILITIES  
  191. READY
  192. WAIT 
  193. Desks
  194. READY
  195. Omaha Desks
  196. WAIT 
  197. READY
  198. Omaha Desks
  199. ~"You entered a variable name in the
  200. ~"left border. To see data, you must
  201. also enter dates i}
  202. $n the top border.
  203. ~"Move the cursor to the top border:
  204. Enter a date:
  205. 'Jan86
  206. Jan 1986
  207. WAIT 
  208. READY
  209. Jan 1986
  210. ~"In the cell at the intersection of
  211. ~$the name and the date, Javelin shows
  212. ~ you the value of Omaha Desks for
  213. January 1986.
  214. }%$Watch the information line at the top
  215. ~%of your screen as you move the cursor
  216. down to the number:
  217. Omaha Desks @ January 1986: 97
  218. ~#The information line tells you what
  219. ~"you see in the cell at the cursor:
  220. %Omaha Desks @ January 1986~
  221.  identifies
  222. ~"the variable and the date shown in
  223. the cell at the cursor.
  224. The colon (
  225. ) is equivalent to the
  226. equals sign in a formula.
  227. 9%7%} $ is the value of Omaha Desks for
  228. January 1986.
  229. &The * Worksheet Commands
  230. ~ Now let's enter dates in the top
  231. }%$border for the rest of the months in 
  232. 1986.
  233. ~!You can enter several consecutive
  234. dates with }
  235. $one of the *Worksheet
  236. commands (pronounced "star
  237. Worksheet"). These commands are
  238. } $available in the worksheet only.
  239. 1986 - December 1986 
  240. ry 1986 - December 1986 
  241. ~ To use the command that fills in
  242. ~!dates in a border, first move the
  243. cursor to the top border:
  244. Jan 1986
  245. ~    hen type 
  246. /%*%~
  247.  to see the list of 
  248. *Worksheet commands:
  249. & $/' $*'
  250.   DEFINE   CLEAR
  251. VIEW 
  252. WINDOW   PRINT
  253. *WORKSHEET
  254. MENU 
  255. Select view for current window.
  256.  Width
  257.  Format
  258.  Sort ...
  259.  Exception
  260.  Name change
  261.  Import file .. 
  262.  Range ...
  263.  Border ...
  264.  Data copy
  265.  Copy
  266.  *WORKSHEET
  267. Copy contents of cells.
  268. ~ You see a menu of the *Worksheet
  269. ~"commands -- commands that apply to
  270. $worksheets.
  271. ~"The command to fill in consecutive
  272. ~$dates is the *Worksheet Border Dates
  273. . Type 
  274. B%~     to selec
  275. t$ $}
  276. %Border~
  277. & $B'
  278.  Shrink border   
  279.  Expand border   
  280.  Remove border   
  281.  Insert border   
  282.  Variable names  
  283.  Dates
  284.  Border ...
  285. Enter dates in current border.
  286. Then type 
  287.  to select }
  288. %Dates~
  289. & $D'
  290.                ~
  291.  Format
  292.  Sort ...
  293.  Exception
  294.  Name change
  295.  Import file 
  296.  Range ...
  297.  Border ...
  298.  Data copy
  299.  Copy
  300.  1986 
  301. Production
  302. READY
  303. Begin date (January 1986):
  304.  At the top of your screen, the command 
  305.  prompts you for the first date in the  
  306.  range of dates to fill. Type:
  307.  $ $ $
  308. 'Jan86
  309. End date (December 1986): 
  310. ~%Then enter the last date in the range
  311. ~    of dates:
  312. 'Dec86
  313. WAIT 
  314. READY
  315. Feb 1986
  316. Mar 1986
  317. Apr 1986
  318. May 1986
  319. WAIT 
  320. READY
  321. Jan 1986
  322. ~!Javelin enters all the dates from
  323. January to December 1986. The
  324. ~%worksheet shows data from the model's
  325. $central base of information.
  326. ~#By entering dates, you told Javelin
  327. ~!to show the production values for
  328. Omaha Desks throughout 1986.
  329. Now let's show the rest of the
  330. variables. Move to
  331. first empty
  332. cell in the left border:
  333.      $ $
  334. Omaha Desks @ January 1986: 97
  335. ~"Use the SPELL key to help type the
  336. variable name
  337. %Omaha Dressers~
  338. & $O'm'a' $}
  339. WAIT 
  340. READY
  341. WAIT 
  342.  Omaha Tables   
  343.  Omaha Dressers 
  344.  Omaha Desks
  345.  POSSIBILITIES  
  346. READY
  347. Select Omaha Dressers from
  348. ~ POSSIBILITIES menu and enter the
  349. name:
  350. WAIT 
  351. -Omaha Desks
  352. Dressers
  353. READY
  354. Omaha Dresse
  355. WAIT 
  356. READY
  357. Omaha Dressers
  358. ~ Javelin shows you the values for
  359. ~$Omaha Dressers. The name is cut off,
  360. ~#since the border is not wide enough
  361. to show the full name.
  362. ~"ress [Space] and I'll add the last
  363. variable name.
  364. Omaha Tables
  365. WAIT 
  366. READY
  367. Omaha Tables
  368. ~"The worksheet now shows values for
  369. all the variables in the model.
  370. ~ Let's widen the left border so a
  371. the variable names will fit.
  372. 1986 - December 1986 
  373. ry 1986 - December 1986 
  374. ~$To change the width of a column, use
  375. ~#the *Worksheet Width command. Type:
  376.      $ $
  377. & $/' $*' $W'
  378.   DEFINE   CLEAR
  379. WINDOW   PRINT
  380.  *WORKSHEET 
  381. MENU 
  382. ~"Commands specific to current view.
  383.  Width
  384.  Format
  385.  Sort ...
  386.  Exception
  387.  Name change
  388.  Import file .. 
  389.  Range ...
  390.  Border ...
  391.  Data copy
  392.  Copy
  393.  *WORKSHEET
  394. ~JInsert, remove, expand, shrink, enter dates or variable names in a border.
  395. Change width of current column.
  396.  1986 
  397. -Apr 1986
  398. -May 1
  399. Production
  400. READY
  401. ~DWidth: Use arrow keys and press 
  402. , enter a number, or press [Del].
  403. Column width (13):
  404.  This command prompts you at the top
  405.  of the screen to enter a column
  406.  width. The current width, as shown in  
  407.  the parentheses, is 13 characters.
  408. ~$You can change the column width with
  409.  keys, or by entering a
  410. ~&number. Watch the border as you press:
  411. ~     Jan 1986
  412. ~     Feb 1986
  413. ~     Mar 1986
  414. ~     Apr 1986
  415. ~     May 1986
  416. WAIT 
  417. READY
  418. ~     Jan 1986
  419. ~     Feb 1986
  420. ~     Mar 1986
  421. ~     Apr 1986
  422. ~     May 1986
  423. WAIT 
  424. READY
  425. ~#Now the name Omaha Dressers fits in
  426. left column. To complete the
  427. ~%command and set the new column width,
  428. press:
  429. Omaha Tables
  430. ~$The *Worksheet Width command changes
  431. ~$the width of a single column. On the
  432. ~%Worksheet settings sheet, you can set
  433. width for all the columns on a
  434. worksheet.
  435. ~#Use the Define Worksheet command to
  436. }!$see the Worksheet settings sheet:
  437. & $/' $D' $W'
  438.   DEFINE   CLEAR
  439. WINDOW   PRINT
  440.  *WORKSHEET 
  441. MENU 
  442. ~"Commands specific to current view.
  443.  Settings
  444.  Configuration  
  445.  Printer
  446.  Time period
  447.  Macro ...
  448.  Graph
  449.  Worksheet
  450.  Building block 
  451.  Variable
  452.  DEFINE
  453. ~@Create a variable or change its name, period, or other settings.
  454. ~? Create a worksheet or change its name, column width, or format
  455. Omaha Desks = 
  456.     Formulas for all v
  457. Omaha Tables
  458. -Omaha Dressers 
  459. -Omaha Desks
  460. Production
  461. Worksheet name (Production):
  462. ~!command prompts for the name of a
  463. ~"worksheet. To see the settings for
  464. ~&the current worksheet, just press 
  465.  Default
  466.  Guilder (fl) 
  467.  Deutsche Mark
  468.  Swiss Franc (
  469.  Franc (F)
  470.  Yen (
  471.  Pound (
  472.  Dollar ($)
  473.  Commas
  474.  Percent
  475.  Fixed decimal
  476.  Automatic
  477. "Format
  478.  Decimal places {}
  479.  Column width {13}
  480.  Name {Production}
  481. "Worksheet Settings
  482. ~7To save settings and leave settings sheet, press [Esc].
  483. %Column width~
  484.  setting is 13.
  485. ~#Columns in the Production worksheet
  486. are 13 characters wide.
  487. o change the column width to 8
  488. characters, move the cursor to
  489. %Column width~
  490.  and enter 8:
  491. ' $8' $}
  492. Column width:
  493. ~7To save settings and leave settings sheet, press [Esc].
  494. ~"Now watch the worksheet as you pre
  495. ~"[Esc] to leave the settings sheet:
  496. '[Esc]
  497. hly data: January
  498. nthly data: Janua
  499. ly data: January 
  500.     ables:
  501.    187
  502.    125
  503. -n 1986
  504. -Feb 1986
  505. -Mar 1986
  506. Production
  507. ~?Jan 86  Feb 86  Mar 86  Apr 86  May 86  Jun 86  Jul 86  Aug 86 
  508.    126
  509.    192
  510. WAIT 
  511. MENU 
  512. READY
  513. Omaha Tables
  514. All the columns except the left
  515. }!$border are now 8 characters wide.
  516. $The left border is still 15
  517. ~#characters wide, since you used the
  518. ~$*Worksheet Width command to set its 
  519. column width explicitly.
  520. &Moving Around the Worksheet
  521. ~ With narrower columns, you can s
  522. ~"more months at once. To see months
  523. ~#off the screen, though, you have to
  524. move the cursor to the right to
  525. scroll the worksheet.
  526. The easiest way to scroll the
  527. works}
  528. $heet is to move the cursor with
  529. the arrow keys.
  530. ~%For example, to see the September and
  531. October values, press:
  532. @ January 1986: 187
  533. February 1986: 183
  534. March 1986: 189
  535. April
  536. May 1986: 204
  537. June 1986: 2
  538. August 1986: 186
  539. September 1986: 189
  540. October 1986: 189
  541. worksheet scrolls to show
  542. September and October 1986.
  543. ~&To see the last values in a worksheet,
  544. ~"press [End] and an arrow key. (The
  545. ~ [End] key is next to the 
  546.  key.)
  547. Press:
  548. '[End]
  549. ~)End: Press arrow key to select direction.
  550. WAIT 
  551. READY
  552. ~ Omaha Tables @ October 1986: 189
  553. December 1986: 194
  554. hows the data for May
  555. through December 1986.
  556. move the cursor back to the top
  557. ~%left corner of the worksheet, use the
  558. ~%Home] key. (The [Home] key is next to
  559.  key.) Press:
  560. '[Home]
  561. ~ Pressing [Home] always moves the
  562. ~#cursor to the top left corner cell.
  563. ~#Some other keys you can use to move
  564. ~!the cursor around worksheets are:
  565.  [PgUp] -- Up one page
  566.  [PgDn] -- Down one page
  567.  [Ctrl]-[
  568. ] -- Left one page
  569.  [Ctrl]-[
  570. ] -- Right one page
  571. &Headings and Subheadings~
  572. ~&The Production worksheet we just built
  573. ~&shows one way to organize your data in
  574. Worksheet view.
  575. ~$Next, you'll see how to use headings
  576. ~%and subheadings to organize your data
  577. ~$another way, by putting parts of the
  578. variable names in each border.
  579. ~!All three variables in this model
  580. contain the word }
  581. %Omaha~
  582. . This means
  583. ~#that you can group them all under a
  584. ~"single heading in the left border.
  585. ~$First, let's clear all the existing 
  586. ~%variable names from the left border. 
  587. ~&Move the cursor to Omaha Desks. Press:
  588. Omaha Desks
  589. ~&Then press the [Del] key to delete the
  590. ~#name. (The [Del] key is below the 
  591. key, at the lower right of your
  592. keyboard.) Press:
  593. '[Del]
  594. WAIT 
  595. Tables
  596. ressers
  597. READY
  598. ressers
  599. ~"After you delete the variable name
  600. ~#from the left border, the worksheet
  601. $no longer shows data for that
  602. ~    variable.
  603. ~!Although you removed the variable
  604. from the worksheet, }
  605. %you did not
  606. %remove it from the model.~
  607.  You can s
  608. ~%in the bottom window that Omaha Desks
  609. $is still in the model.
  610. Now delete the other two names:
  611. '[Del]
  612. '[Del]
  613. WAIT 
  614. Tables
  615. READY
  616. Tables
  617. WAIT 
  618. READY
  619. With the left border empty, the
  620. ~"worksheet no longer shows data for
  621. any variables.
  622. ~%There is another way to show the data
  623. ~ for the variables in this model.
  624. $First, type }
  625. %Omaha~
  626.  in the left border:
  627. 'Omaha
  628. Omaha
  629. WAIT 
  630. READY
  631. Omaha
  632. Move down one cell:
  633. Now indent }
  634. %Desks~
  635.  under }
  636. %Omaha~
  637. ~$indent the name, press the space bar
  638. once, then type Desks:
  639. '[Space]
  640. 'Desks
  641. Desks
  642. WAIT 
  643. READY
  644. Desks
  645. ~"Javelin automatically combines the
  646. ~"two names when you indent one name
  647. under another.
  648. The first r}
  649. $ow shows the data for Omaha
  650. ~$Desks. Move the cursor to the right:
  651. Omaha Desks @ January 1986: 97
  652. ~#Look at the top of your screen. The
  653. ~&cell at the cursor shows the value for
  654. ~%Omaha Desks @ January 1986, combining
  655. the heading
  656. %Omaha~
  657. , the subheading
  658. %Desks~
  659. , and the date
  660. %Jan 1986~
  661. ~$You can use this kind of indentation
  662. ~&in the left border to build worksheets
  663. ~#of infinite variety. You can indent
  664. }$$to any number of levels, using dates
  665. ~!or parts of variable names in any
  666. combination of headings and
  667. subheadings.
  668. Press [Space}
  669. $] now, and I'll fill in
  670. $the rest of the variable names.
  671.  Desks
  672. Dressers
  673. WAIT 
  674. READY
  675. Dressers
  676. Tables
  677. WAIT 
  678. READY
  679. Tables
  680. ~$Let's recap what you've seen so far:
  681.  Use the View Worksheet command to
  682.   create a worksheet.
  683.  Enter names and dates in the
  684. ~$  borders to determine what to show.
  685.  Use *Worksheet commands to change
  686. ~   the appearance of a worksheet.
  687. &Copying Groups of Cells
  688. ~$It's easy to create another group of
  689. ~$variables similar to the group under
  690. ~!Omaha. We can duplicate this same
  691. structure for Topeka, the other
  692. location where Chisel & Gouge
  693. produces furniture.
  694. ~"First, move the cursor down to the
  695. cell w}
  696. $here you want to enter the
  697. second heading:
  698. ~"Now enter the new heading, Topeka:
  699. 'Topeka
  700. Topeka
  701. WAIT 
  702. READY
  703. Topeka
  704. ~&Instead of typing the same three names
  705. ~$-- Desks, Dressers, and Tables -- we
  706. ~#can use the *Worksheet Copy command
  707. to copy them under Topeka.
  708. ~!To use the Copy command, begin by
  709. ~!moving the cursor to the first ce
  710. you want to copy:
  711. Tables
  712. Dressers
  713. ~#Select the *Worksheet Copy command:
  714.      $ $
  715. & $/' $*' $C'
  716.  DEFINE }
  717.   CLEAR
  718. WINDOW   PRINT
  719. *WORKSHEET
  720. MENU 
  721. ~N Define variable, building block, worksheet, graph, macro, time pd., settings.
  722.  Name change
  723.  Import file .. 
  724.  Range ...
  725.  Border ...
  726.  Data copy
  727.  Copy
  728.  *WORKSHEET
  729. Change width of current column.
  730. Copy contents of cells.
  731.    200
  732.    120
  733. -Jun 86  Jul 86  Au
  734. Production
  735. READY
  736. POINT
  737. ~FSpecify range to copy from: move to corner of range and press . or 
  738. ~#Next, specify the range of cells to
  739. ~!copy. Press the period key (.) to
  740. anchor one end of the range on
  741. %Desks~
  742. & $.'
  743. ~8Press arrows to show range, then press 
  744.  to select it.
  745. ~!Use the arrow keys to "paint" the
  746. range of cells to copy.
  747. ~#Javelin highlights the cells as you
  748. ~!point to them. Press 
  749.  when you
  750. ~$finish specifying the range to copy:
  751. READY
  752. POINT
  753. ~DSpecify range to copy to: move to corner of range and press . or 
  754. ~$You have specified the range you are
  755. copying }
  756. %from~
  757. . Now specify the range
  758. you are copying
  759.  $t%o%~
  760. ~%Move the cursor to point to the first
  761. ~#cell where the copy should appear, 
  762. then press 
  763. '[End]
  764. ~)End: Press arrow key to select direction.
  765. WAIT 
  766. POINT
  767. ~DSpecify range to copy to: move to corner of range and press . or 
  768. READY
  769. WAIT 
  770. Desks
  771. Dressers
  772. Tables
  773. READY
  774. Desks
  775. ~!Javelin copies the three indented
  776. names un}
  777. $der Topeka. The worksheet is
  778. now set up for t}
  779. $hree more variables:
  780. ~"Topeka Desks, Topeka Dressers, and
  781. Topeka Tables.
  782. ~&These three variables do not yet exist
  783. ~#in the model. They do not appear in
  784. }#$the Formulas view, and they have no
  785. $data.
  786.  $ $}!&Creating Variables on a Worksheet
  787. When you enter a number at the
  788. ~ intersection of a variable and a
  789. ~!date in a worksheet, you create a
  790. new variable in the model.
  791. is section, you will create
  792. ree new variables by entering
  793. numbers in the worksheet.
  794. ~#Let's begin by entering the January
  795. ~"1986 value for Topeka Desks. Watch
  796. ~"the top of your screen as you move
  797. ~ the cursor to the cell for Topek
  798. Desks in January 1986:
  799. Omaha Desks @ January 1986: 97
  800. ressers @ January 1986: 125
  801. Tables @ January 1986: 187
  802. Topeka Desks:
  803. ~$As you move the cursor to each cell,
  804. the information line at
  805. top of 
  806. ~%the screen describes what is shown in
  807. cell.
  808. ~"Right now, the cursor is on the ce
  809. ~$for Topeka Desks. Since Topeka Desks
  810. }#$is not yet defined, the information
  811. ~#line shows nothing after the colon.
  812. ~%The furniture shop in Topeka made 135
  813. desks in January. Watch
  814. Formulas
  815. ~ view in the bottom window as you
  816. enter this number:
  817. & $1'3'5' $
  818. Topeka Desks:
  819. WAIT 
  820. ~&Topeka Desks = 
  821.  Monthly data: January
  822. READY
  823. ~ Topeka Desks @ January 1986: 135
  824. ~ When you enter the data, Javelin
  825. ~"creates the variable Topeka Desks.
  826. opeka Desks is now part of the
  827. ~!model. Its formula appears at the
  828. ~"bottom of the Formulas view in the
  829. ~#bottom window. The information line
  830. ~#shows that Topeka Desks has a value
  831. $of 135 in January 1986.
  832. ~#This information is now part of the
  833. entral base of information,
  834. accessible in all views.
  835. ~%Now enter a value for Topeka Dressers
  836. ~%in January 1986. Move the cursor down
  837. ~ one cell and type the value 146:
  838.      $ $
  839. ' $1'4'6'
  840. ressers:
  841. Topeka Dressers:
  842. ~$Then enter the value by pressing the
  843. down-arrow key:
  844. WAIT 
  845. ~&Topeka Dressers = 
  846.  Monthly data: Janu
  847. READY
  848. Topeka Tables:
  849. ~%As you enter this value, Javelin adds
  850. Topeka Dressers to the model.
  851. }%$You can build a whole model this way,
  852. starting on the worksheet. The
  853. ~$Worksheet view is especially useful 
  854. ~#when you want to organize variables
  855. under separate headings.
  856. ~!Finally, enter a value for Topeka
  857. ables:
  858. & $2'1'3' $
  859. Topeka Tables:
  860. WAIT 
  861. ~&Topeka Tables = 
  862.  Monthly data: Januar
  863. READY
  864. ~!Topeka Tables @ January 1986: 213
  865. ~&Press [Space] now, and I'll enter some
  866. ~#more data for furniture produced in
  867. Topeka.
  868. Dressers @ January 1986: 146
  869. esks @ January 1986: 135
  870. February 1986:
  871. Topeka Desks @ February 1986:
  872. WAIT 
  873. READY
  874. Topeka Desks @ March 1986:
  875. Topeka Desks @ March 1986:
  876. WAIT 
  877. READY
  878. Topeka Desks @ April 1986:
  879. Topeka Desks @ April 1986:
  880. WAIT 
  881. READY
  882. Topeka Desks @ May 1986:
  883. Topeka Desks @ May 1986:
  884. WAIT 
  885. READY
  886. Topeka Desks @ May 1986: 141
  887. ~)End: Press arrow key to select direction.
  888. WAIT 
  889. READY
  890. Topeka Desks @ May 1986: 141
  891.  Desks
  892. ressers
  893. ~#Topeka Dressers @ January 1986: 146
  894. February 1986:
  895. ~ Topeka Dressers @ February 1986:
  896. WAIT 
  897. READY
  898. Topeka Dressers @ March 1986:
  899. Topeka Dressers @ March 1986:
  900. WAIT 
  901. READY
  902. Topeka Dressers @ April 1986:
  903. Topeka Dressers @ April 1986:
  904. WAIT 
  905. READY
  906. Topeka Dressers @ May 1986:
  907. Topeka Dressers @ May 1986:
  908. WAIT 
  909. READY
  910. Topeka Dressers @ May 1986: 153
  911. ~)End: Press arrow key to select direction.
  912. WAIT 
  913. READY
  914. Topeka Dressers @ May 1986: 153
  915. ~     Dressers
  916. Tables
  917. ~!Topeka Tables @ January 1986: 213
  918. February 1986:
  919. Topeka Tables @ February 1986:
  920. WAIT 
  921. READY
  922. Topeka Tables @ March 1986:
  923. Topeka Tables @ March 1986:
  924. WAIT 
  925. READY
  926. Topeka Tables @ April 1986:
  927. Topeka Tables @ April 1986:
  928. WAIT 
  929. READY
  930. Topeka Tables @ May 1986:
  931. Topeka Tables @ May 1986:
  932. WAIT 
  933. READY
  934. Topeka Tables @ May 1986: 225
  935. Omaha
  936. &Changing Names on a Worksheet
  937. ~#Like the other views, the Worksheet
  938. $view is a way to see and enter
  939. ~%information in Javelin's central base
  940. ~!of information. The variables and
  941. dates are not really 
  942. i%n%~
  943.  the worksheet
  944. ~#-- the worksheet is just one way of
  945. looking at them.
  946. ~%You saw this before, when you deleted
  947. rows}
  948. $ from the worksheet, but the 
  949. ~#variables and data were not deleted
  950. central base of information.
  951. ~!Similarly, if you type a new name
  952. ~#ver an existing name in a worksheet
  953. border, you do not ch}
  954. $ange the
  955. existing variable name.
  956. For example, suppose the Omaha
  957. ~%furniture facility is not actually in
  958. ~ Omaha, but in the nearby town of
  959. East Omaha.
  960. Typing }
  961. %East Omaha~
  962.  over
  963. %Omaha~     does not
  964. change the name of the existing
  965. variable. Instead, it tells the
  966. ~"worksheet to show values for a new
  967. variable called East Omaha.
  968. ~!To see this, try entering the new
  969. ~#name, East Omaha, on the worksheet.
  970. ~"Use the EDIT key to put "Omaha" on
  971. the edit line, then add
  972. %East~
  973. a space}
  974. $ to the name:
  975. '[F2]
  976. 'East
  977. '[Space]
  978. Omaha
  979. EOmaha
  980. aOmaha
  981. sOmaha
  982. tOmaha
  983.  Omaha
  984. ~$Now watch the worksheet as you enter
  985. the new name:
  986. East Omaha
  987. WAIT 
  988. READY
  989. East Omaha
  990. ~#All the Omaha values disappear from
  991. the worksheet.
  992. ~&The Omaha variables still exist -- you
  993. ~$can see their formulas in the bottom
  994. ~$window. But since no variables exist
  995. that begin with East Omaha, the
  996. }"$worksheet shows nothing under East
  997. Omaha.
  998. ~&Press [Space] and I'll change the name
  999. back to Omaha.
  1000. Omaha
  1001. WAIT 
  1002. READY
  1003. Omaha
  1004. You see the values of the Omaha
  1005. variables once again.
  1006. ~$If you want to change variable names
  1007. ~$from the worksheet, you must use the
  1008. ~#*Worksheet Name change command. For
  1009. ~#example, let's change all the Omaha
  1010. variables to East Omaha. Type:
  1011. & $/' $*' $N'
  1012.   DEFINE   CLEAR
  1013. WINDOW   PRINT
  1014.  *WORKSHEET 
  1015. MENU 
  1016. ~"Commands specific to current view.
  1017.  Name change
  1018.  Import file .. 
  1019.  Range ...
  1020.  Border ...
  1021.  Data copy
  1022.  Copy
  1023.  *WORKSHEET
  1024. Copy contents of cells.
  1025. ~=Rename variables by changing a border item or exception cell.
  1026.    200
  1027.    120
  1028. -Jun 86  Jul 86  Au
  1029. Production
  1030. READY
  1031. Rename to:
  1032. Omaha
  1033. ~$The command prompts you with the old
  1034. name on the edit line. Add
  1035. %East~
  1036.  and a
  1037. space to the name:
  1038. 'East
  1039. '[Space]
  1040. EOmaha
  1041. aOmaha
  1042. sOmaha
  1043. tOmaha
  1044.  Omaha
  1045. Now watch the worksheet as you
  1046. complete the command:
  1047. WAIT 
  1048. East Omaha
  1049. ~&East Omaha Tables = 
  1050.  Monthly data: Ja
  1051. ~&East Omaha Dressers = 
  1052.  Monthly data: 
  1053. ~&East Omaha Desks = 
  1054.  Monthly data: Jan
  1055. READY
  1056. East Omaha
  1057. ~"is time the values stay visible in
  1058. the worksheet.
  1059. ~"The *Worksheet Name change command
  1060. }!$actually changes the names of the
  1061. ~$variables in the model, not just the
  1062. names shown in the border.
  1063. ~%You can see the new variable names in
  1064. $the Formulas view.
  1065. &Automatic Period Conversions
  1066. ~ Before we leave this case study,
  1067. we'll see one other feature of
  1068. ~$Javelin worksheets: automatic period
  1069. ~%conversions. You can use this feature
  1070. ~%to convert variable values to another
  1071. ~%period, simply by entering a date in 
  1072. a worksheet border.
  1073. ~ For example, suppose you want to
  1074. compu}
  1075. $te quarterly production by
  1076. summing the appropriate monthly
  1077. values.
  1078. All you have to do is enter a
  1079. ~!quarterly date in the top border,
  1080. ~ and Javelin will make the period
  1081. conversion automatically.
  1082. ~$To see quarterly production figures,
  1083. ~"first move the cursor to the place
  1084. where you want to type }
  1085. %1 Q 86~
  1086. Jan 1986
  1087. ~%Then press the [Ins] key (next to the
  1088. ~"[Del] key) to insert a new column:
  1089. '[Ins]
  1090.   Apr
  1091. WAIT 
  1092. READY
  1093. ~$Javelin inserts a new column in the 
  1094. ~ worksheet. Now enter a new date:
  1095. '1Q86
  1096. 1 Q 86
  1097. WAIT 
  1098. READY
  1099. 1 Q 1986
  1100. ~"Javelin automatically converts the
  1101. ~#monthly values to quarterly values.
  1102. ~%This is all you need to do to convert
  1103. between periods on a worksheet.
  1104. &Summary
  1105. ~& Here are some of the features you saw
  1106. in this case study:
  1107.  Headings and indented subheadings
  1108. $in the left border.
  1109.  Creating variables from a worksheet.
  1110.  Automatic period conversions.
  1111. You used the fo}
  1112. $llowing keys to move
  1113. around the worksheet:
  1114.  [Home] to move to the upper left
  1115. corner of the worksheet.
  1116.  [End] to move to the last cell entry
  1117. in a specified direction.
  1118.  [Ins] and [Del] to insert and delete
  1119.   rows or columns.
  1120. You also used the following
  1121. *Worksheet commands:
  1122.  Border Dates -- fill in dates in a
  1123. ~      border.
  1124.  Width -- change the width of a
  1125. ~      column.
  1126.  Copy -- copy a range of cells.
  1127.  Name change -- change names of
  1128. variables.
  1129. Related case studies:
  1130. %More on the Javelin Worksheet~
  1131.  shows
  1132. ~$more about worksheets, including how
  1133. ~#to enter and copy formulas, and how
  1134. to create multiple worksheets.
  1135. }#%Importing Data into a Javelin Model
  1136. describes three ways to import
  1137. ~!information into a Javelin model,
  1138. ~!including importing a 1-2-3 file.
  1139. }$%Entering Data and Formatting Numbers
  1140. ~!shows how to use numeric formats.
  1141.